#This is a script that used on the command line to
# run .lp files
# The advantage is to be able to change the parameters
# directly from .lp file

import cplex

c=cplex.Cplex()
c.read("ccfs_new.lp")
c.parameters.read_file("../../param/stofac.prm")
c.solve()

print c.solution.get_objective_value()
print c.solution.get_values()
print c.variables.get_names()
print c.solution.get_linear_slacks()
print c.solution.basis.get_basis()
